package cn.laixue.mapper;

import cn.laixue.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    public List<User> findAll();
    public List<User> selectPageWhere(Map map);

    public List<User> selectSex(String sex);

    public List<User> findByName(User user);

    public List<User> findByChoose(User user);

    public int delAll(Integer i);

    public int addAll(User user);

    public int addList(List list);
}
